package top.juntech.msweatherdata.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "ms-weather-zuul",fallback =WeatherCollectionClientHystrix.class )
public interface WeatherCollectionClient {
    @GetMapping("/collection/collection")
    String collection(@RequestParam("uri") String uri);
}
